﻿using ERPU8WebApi.Until;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;

namespace ERPU8WebApi.Models.Sys
{
    //部门
    public class DepartmentModel
    {
        //部门编码
        public string cDepCode;
        //部门名称
        public string cDepName;
        //地址
        public string cDepAddress;
        //全称
        public string cDepFullName;
        //编码层级
        public string iDepGrade;
    }
    public class DepartmentController
    {
        public DepartmentModel GetModel(DataRow dr)
        {
            DepartmentModel s = new DepartmentModel();
            s = SerializeLibrary.D2E<DepartmentModel>(dr);
            return s;
        }
    }
}